﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MH.Lib.Data
{
    public class Person
        : IPerson
    {
        public Person(string id, string firstName, string lastName)
        {
            ID = id;
            FirstName = firstName;
            LastName = lastName;
        }

        #region IPerson

        /// <summary>
        /// ID property
        /// </summary>
        public string ID { get; set; }

        /// <summary>
        /// First name property
        /// </summary>
        public string FirstName { get; set; }

        /// <summary>
        /// Last name property
        /// </summary>
        public string LastName { get; set; }

        #endregion // IPerson


        #region Object

        public override string ToString()
        {
            return ID + "\t" + FirstName + "\t" + LastName;
        }

        #endregion // Object
    }
}
